/**
 * creation: 20-nov-2006
 */
package org.jfonia.musicxml.model;

import org.w3c.dom.Node;

/**
 * 
 * 
 * @author Wijnand
 *
 */
public class DirectionType extends Element
{
	private String  words = null;
	private String  rehearsal = null;		
	private boolean coda = false;
	private boolean segno = false;
	
	public DirectionType(Node node)
	{
		super(node);
	}

	public void setCoda(boolean coda)
	{
		this.coda = coda;
	}

	public void setRehearsal(String rehearsal)
	{
		this.rehearsal = rehearsal;
	}

	public void setSegno(boolean segno)
	{
		this.segno = segno;
	}

	public void setWords(String words)
	{
		this.words = words;
	}

	public String getRehearsal()
	{
		return rehearsal;
	}

	public String getWords()
	{
		return words;
	}

	public boolean isCoda()
	{
		return coda;
	}

	public boolean hasCoda()
	{
		return coda;
	}
	
	public boolean isSegno()
	{
		return segno;
	}

	public boolean hasSegno()
	{
		return segno;
	}

}
